import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Map from '@/components/map'
import PointMap from '@/components/point-map'
import LineMap from '@/components/line-map'
import VisIndex from '@/components/vis/index'
import VisNodeImage from '@/components/vis/node-image'
import Edges from '@/components/vis/edges'
import TimeLineIndex from '@/components/timeline/index'

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/HelloWorld',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/Map',
      name: 'Map',
      component: Map
    },
    {
      path: '/PointMap',
      name: 'PointMap',
      component: PointMap
    },
    {
      path: '/LineMap',
      name: 'LineMap',
      component: LineMap
    },
    {
      path: '/VisIndex',
      name: 'VisIndex',
      component: VisIndex
    },
    {
      path: '/VisNodeImage',
      name: 'VisNodeImage',
      component: VisNodeImage
    },
    {
      path: '/Edges',
      name: 'Edges',
      component: Edges
    },
    {
      path: '/TimeLineIndex',
      name: 'TimeLineIndex',
      component: TimeLineIndex
    }
  ]
})
